package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 注册帐户对象 t_account
 * 
 * @author ruoyi
 * @date 2025-09-17
 */
public class TAccount extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private String id;

    /** 用户名 */
    private String username;

    /** 手机号 */
    private String phoneNumber;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 用户状态(0-锁定,1-正常) */
    @Excel(name = "用户状态(0-锁定,1-正常)")
    private Long status;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 积分 */
    @Excel(name = "积分")
    private Long points;

    /** 余额 */
    @Excel(name = "余额")
    private String balance;

    /** 实名认证状态: 0-未认证, 1-已认证 */
    @Excel(name = "实名认证状态: 0-未认证, 1-已认证")
    private Long realNameAuthStatus;

    /** 真实姓名 */
    @Excel(name = "真实姓名")
    private String realName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setUsername(String username) 
    {
        this.username = username;
    }

    public String getUsername() 
    {
        return username;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setPoints(Long points) 
    {
        this.points = points;
    }

    public Long getPoints() 
    {
        return points;
    }

    public void setBalance(String balance) 
    {
        this.balance = balance;
    }

    public String getBalance() 
    {
        return balance;
    }

    public void setRealNameAuthStatus(Long realNameAuthStatus) 
    {
        this.realNameAuthStatus = realNameAuthStatus;
    }

    public Long getRealNameAuthStatus() 
    {
        return realNameAuthStatus;
    }

    public void setRealName(String realName) 
    {
        this.realName = realName;
    }

    public String getRealName() 
    {
        return realName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("username", getUsername())
            .append("phoneNumber", getPhoneNumber())
            .append("nickname", getNickname())
            .append("status", getStatus())
            .append("avatar", getAvatar())
            .append("points", getPoints())
            .append("balance", getBalance())
            .append("realNameAuthStatus", getRealNameAuthStatus())
            .append("realName", getRealName())
            .toString();
    }
}
